package cn.pku.sirx.snad.ass.strategy;

import java.util.List;

import cn.pku.sirx.snad.ad.model.UserContext;
import cn.pku.sirx.snad.ad.model.entity.AdContent;

/**
 * @author WangXiao
 */
public interface IAdReorderStrategy {

	/**
	 * Reorder ads by given user context.
	 * 
	 * @param ads
	 *            candidate ads
	 * @param context
	 *            UserContext
	 * @return reordered ads
	 */
	List<AdContent> reorderAds(List<AdContent> ads, UserContext userContext);

}
